package geppetto.phraseHMM.phraseExtraction.extractedphrase.writer;

import geppetto.phraseHMM.phraseExtraction.extractedphrase.ExtractedPhrasePair;
import geppetto.phraseHMM.phraseExtraction.extractedphrase.ExtractedPhrasePairWriter;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;


public class StdoutTableWriter implements ExtractedPhrasePairWriter{
	
	public StdoutTableWriter() {
	}

	public void initialize() {
	    
	}
	
	public void write(ExtractedPhrasePair epp) {
		System.out.println(epp.stringPhraseExtraction());	
	}

	public void writeHeaders() {
		System.out.println(ExtractedPhrasePair.getHeaders());				
	}

	public void close() {
	}

	@Override
	public void writeInfo(String key, String value) {
		System.out.println(key+"="+value);
	}
}
